import axios from 'axios'
export default{
    login:data=>axios.post('/users/login',data),
    register:data=>axios.post('/users/register',data),
    getUserInfo:()=>axios.get('/users/getUserInfo')
}